package com.example.SpringBoot_demo.service;

import com.example.SpringBoot_demo.bean.User;

import java.util.List;

public interface IUserService {
    List<User> viewUser();
    List<User> viewAdmin();
    void deleteUser(String userid);
    void addUser(User user);
    void updateUser(User user);
    User getUserById(String userid);
    List<User> getUser(String userid, String username);

}
